package com.jieao.template.config.shiroConfig;

import cn.hutool.core.util.IdUtil;
import org.apache.shiro.session.Session;
import org.apache.shiro.session.mgt.eis.SessionIdGenerator;

import java.io.Serializable;

public class CustomSessionIdGenerator implements SessionIdGenerator
{

    @Override
    public Serializable generateId(Session session)
    {
        return IdUtil.simpleUUID();
    }


}
